package com.sesame.common.utils;


import java.util.Random;

public class TaskIDUtils {


    /**
     * 生成巡查job任务号
     *
     * @return
     */
    public static String getXunChaJobTaskId() {
        Random random = new Random();

        StringBuilder sb = new StringBuilder();
        sb.append("jdrw");
        sb.append(DateUtils.getLongTrimDateStr());
        sb.append(random.nextInt(900) + 100);

        return sb.toString();
    }


    public static String getEventTaskId() {
        Random random = new Random();

        StringBuilder sb = new StringBuilder();
        sb.append("jdsj");
        sb.append(DateUtils.getLongTrimDateStr());
        sb.append(random.nextInt(900) + 100);

        return sb.toString();
    }


}
